projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eef929
)
Fix looking-at-p example in shortdoc.el
author
Daniel Martín
<mardani29@yahoo.es>
Thu, 27 May 2021 23:45:28 +0000
(
01:45
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 27 May 2021 23:45:28 +0000
(
01:45
+0200)
* lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of
`looking-at' (bug#48709).
lisp/emacs-lisp/shortdoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/shortdoc.el
b/lisp/emacs-lisp/shortdoc.el
index 0320e1718259ffd4d0d49e3c04352e08b4ed44a1..652806ea28006642bdb5a9ace29d9c78835af315 100644
(file)
--- a/
lisp/emacs-lisp/shortdoc.el
+++ b/
lisp/emacs-lisp/shortdoc.el
@@
-666,7
+666,7
@@
There can be any number of :example/:result elements."
:no-eval (re-search-backward "^foo$" nil t)
:eg-result 43)
(looking-at-p
- :no-eval (looking-at "f[0-9]")
+ :no-eval (looking-at
-p
"f[0-9]")
:eg-result t)
"Match Data"
(match-string